<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    {:token()}
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">标题:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control " rows="3" name="row[title]"
                                cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">内容:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control " rows="5" name="row[content]"
                                cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">服务内容:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control " rows="2" name="row[serve_content]"
                                cols="50"></textarea>
        </div>
    </div>
    <div class="form-group titel">
        <label for="username" class="control-label col-xs-12 col-sm-2">运营效果:</label>
        <div class="col-xs-12 col-sm-8">
            <input style="width: 24%;"  class="form-control form-control" placeholder="搜索数量" name="row[search]" type="text" value="">
            <input style="width: 24%;"  class="form-control form-control" placeholder="相关笔记数量" name="row[note]" type="text" value="">
            <input style="width: 24%;"  class="form-control form-control" placeholder="笔记曝光数量" name="row[exposure]" type="text" value="">
            <input style="width: 24%;"  class="form-control form-control" placeholder="互动量" name="row[interaction]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-birthday" class="control-label col-xs-12 col-sm-2">图片上传:</label>
        <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-avatars1" data-rule="" class="form-control" size="50" name="row[imgs]" type="text" value=""  style="display: none;">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="plupload-avatar1" class="btn btn-danger plupload" data-input-id="c-avatars1" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-avatars1"><i class="fa fa-upload"></i> 上传</button></span>
                    </div>
                    <span class="msg-box n-right" for="c-avatars1"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-avatars1" style="width: 100%;"></ul>
        </div>
    </div>


    <div class="form-group titel">
        <label for="username" class="control-label col-xs-12 col-sm-2">投放时间:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control form-control" placeholder="投放时间" name="row[tf_time]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-birthday" class="control-label col-xs-12 col-sm-2">顶部图片:</label>
        <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-avatars2" data-rule="" class="form-control" size="50" name="row[img_top]" type="text" value=""  style="display: none;">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="plupload-avatar1" class="btn btn-danger plupload" data-input-id="c-avatars2" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-avatars2"><i class="fa fa-upload"></i> 上传</button></span>
                    </div>
                    <span class="msg-box n-right" for="c-avatars2"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-avatars2" style="width: 100%;"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="c-birthday" class="control-label col-xs-12 col-sm-2">轮播图(三张图):</label>
        <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-avatars3" data-rule="" class="form-control" size="50" name="row[img_lunbo]" type="text" value=""  style="display: none;">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" id="plupload-avatar1" class="btn btn-danger plupload" data-input-id="c-avatars3" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-avatars3"><i class="fa fa-upload"></i> 上传</button></span>
                    </div>
                    <span class="msg-box n-right" for="c-avatars3"></span>
                </div>
                <ul class="row list-inline plupload-preview" id="p-avatars3" style="width: 100%;"></ul>
        </div>
    </div>
    <div class="form-group">
        <label for="username" class="control-label col-xs-12 col-sm-2">中间内容:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-content" class="form-control " rows="3" name="row[info]"
                                cols="50"></textarea>
        </div>
    </div>

    <div class="form-group titel">
        <label for="username" class="control-label col-xs-12 col-sm-2">标题内容1:</label>
        <div class="col-xs-12 col-sm-8">
            <input style="width: 48%;"  class="form-control form-control" placeholder="标题" name="row[title_1]" type="text" value="">
            <input style="width: 48%;"  class="form-control form-control" placeholder="内容" name="row[content_1]" type="text" value="">
        </div>
    </div>
    <div class="form-group titel">
        <label for="username" class="control-label col-xs-12 col-sm-2">标题内容2(最底部):</label>
        <div class="col-xs-12 col-sm-8">
            <input style="width: 48%;"  class="form-control form-control" placeholder="标题" name="row[title_1]" type="text" value="">
            <input style="width: 48%;"  class="form-control form-control" placeholder="内容" name="row[content_1]" type="text" value="">
        </div>
    </div>

    <div class="form-group titel">
        <label for="username" class="control-label col-xs-12 col-sm-2">表格日期(逗号分隔):</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control form-control" placeholder="例如:2001,2002,2003,2004" name="row[bg_day]" type="text" value="">
        </div>
    </div>
    <div class="form-group titel">
        <label for="username" class="control-label col-xs-12 col-sm-2">表格数据(逗号分隔):</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control form-control" placeholder="例如:100,200,300,400" name="row[bg_data]" type="text" value="">
        </div>
    </div>
    <div class="form-group titel">
        <label for="username" class="control-label col-xs-12 col-sm-2">表格底部文字:</label>
        <div class="col-xs-12 col-sm-8">
            <input class="form-control form-control" placeholder="表格底部文字" name="row[bg_name]" type="text" value="">
        </div>
    </div>

    
    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
